package com.yzq.zxinglibrary.android;

import android.app.Activity;
import android.content.Intent;
import android.os.Handler;

import com.google.zxing.Result;
import com.yzq.zxinglibrary.bean.ZxingConfig;
import com.yzq.zxinglibrary.camera.CameraManager;
import com.yzq.zxinglibrary.view.ViewfinderView;

public interface CaptureInterface {
    public ViewfinderView getViewfinderView() ;
    public void handleDecode(Result rawResult);
    public void switchFlashImg(int flashState);

    public ZxingConfig getconfig();

    public Activity getActivity();

    public CameraManager getCameraManager();

    public Handler getHandler();

    public void setResultOK(Intent data);

    public void drawViewfinder();

}
